Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Sarah Xanfanatexli 19.Dec.03 06:02 PM a Web browser
Domino Designer All Releases All Platforms


I'm trying to return the user's mailbox filesize into a form field but I'm getting a type mistmatch in this code. Any help would be greatly appreciated. Thanks!

Dim mailbox As String
Dim mailfile As String
mailbox= Evaluate("@Name([CN];@Subset (@MailDbName;1))")
mailfile=Evaluate("@Subset(@MailDbName;-1)")
Dim db4 As New NotesDatabase( mailbox,mailfile )

Dim workspace As New NotesUIWorkspace
Dim session As New NotesSession
Dim uidoc As NotesUIDocument
Set db4 = session.CurrentDatabase

Set uidoc = workspace.CurrentDocument
' find the size of the user's mail database
size4 = db4.Size /1054000
Call uidoc.FieldSetText( "Display_Sz", Cstr(size4) )






Type mismatch driving me craze (~Sarah Xanfanat... 19.Dec.03)
. . RE: Type mismatch driving me craze (~Pippy Nongerov... 19.Dec.03)
. . The problem is Evaulate returns an ... (~Dan Elhipister... 19.Dec.03)
. . RE: Type mismatch driving me craze (~Bill Quetfooch... 19.Dec.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS